// 除了组长以外,其他人不要修改这个文件

import Vue from 'vue'
import VueRouter from 'vue-router'
import homeRoutes from './modules/homeRoutes'
import sortRoutes from './modules/sortRoutes'
import cartRoutes from './modules/cartRoutes'
import meRoutes from './modules/meRoutes'
import loginRoutes from './modules/loginRoutes'
import goodsRoutes from './modules/goodsRoutes'

Vue.use(VueRouter)

const routes = [
  ...homeRoutes,
  ...sortRoutes,
  ...cartRoutes,
  ...meRoutes,
  ...loginRoutes,
  ...goodsRoutes
]

const router = new VueRouter({
  routes
})

export default router
